<link href="__PUBLIC__/css/page.css" rel="stylesheet"  type="text/css" />
<div class="pd-20">
    <if condition="$plusFoods eq null ">
        <div class="row">没有{:C('pom_admin_product_name')}</div>
        <else />
        <div class="mt-20">
        	
            <table class="table table-border table-bordered table-bg table-sort table-striped">
                <thead>
                    <tr class="text-c">
                        <th width="30">{:C('pom_admin_product_name')}名称</th>
                        <th width="50">操作</th>
                    </tr>
                </thead>
                <!--{$vo.postcode}-->
                <tbody>
                    <volist name="plusFoods" id="food" key="k">
                        <tr class="text-c">
                            <td>{$food.foodname}</td>
                            <td>
	                            <span class="attr" style="display:inline;">
	                            	库存<input type="text" name="" <if condition="$food['instock'] neq null">value="{$food['instock']}"<else/>value=""</if> class="instock" <if condition="$food['instock'] eq null"></if> style="width:60px;" disabled="disabled">
	                            </span>
                            	<a class="btn btn-success" href='{:U("Admin/Order/delPlusFood", array("id" => $food["id"]))}'>删除</a>
                            	</td>
                        </tr>
                    </volist>
                </tbody>
            </table>
        </div>
    </if>
    <div class="row cl dataTables_wrapper" id="upage">
        {$page}
    </div>
</div>
<script type="text/javascript" src="__PUBLIC__/lib/layer/layer.js"></script>
<script>
//用户-编辑
function showFood(title, url, id, w, h) {
    layer_show(title, url, w, h);
}

function change(obj) {
	window.location.href="/index.php?g=Admin&m=Order&a=showAll&state="+$(obj).val();
}
</script>
